LOCKNKEY – USER MANUAL
Version: MVP
Last Updated: 2025-09-29

--------------------------------------------------
INTRODUCTION
--------------------------------------------------
LockNKey is a quantum-resistant password manager designed to securely store,
retrieve, and manage user credentials. All sensitive data is encrypted using
post-quantum cryptographic techniques before being stored.

--------------------------------------------------
ACCESSING THE APPLICATION
--------------------------------------------------
1. Open a web browser.
2. Navigate to: http://localhost:3000
3. The LockNKey login page will appear.

--------------------------------------------------
CREATING A USER ACCOUNT
--------------------------------------------------
1. Click the "Sign Up" button.
2. Enter a valid email address and password.
3. Submit the form.
4. Open the email testing inbox at http://localhost:54324.
5. Verify the account using the confirmation email.

--------------------------------------------------
LOGGING IN
--------------------------------------------------
1. Navigate to the login page.
2. Enter your registered email and password.
3. Click "Login" to access your vault.

--------------------------------------------------
ADDING A PASSWORD
--------------------------------------------------
1. Click the "Add Password" button.
2. Enter the following information:
   - Service or website name
   - Username
   - Password
   - Optional category
3. Click "Save".
4. The password is encrypted and securely stored.

--------------------------------------------------
VIEWING STORED PASSWORDS
--------------------------------------------------
After logging in, all saved credentials appear in the vault dashboard.
Only the authenticated user can view their own entries.

--------------------------------------------------
COPYING A PASSWORD
--------------------------------------------------
1. Locate the desired password entry.
2. Click the copy icon.
3. The password is decrypted and copied to the clipboard.
4. Paste the password into the desired login form.

--------------------------------------------------
DELETING A PASSWORD
--------------------------------------------------
1. Click the delete (trash) icon next to the entry.
2. Confirm the deletion.
3. The entry is permanently removed from the system.

--------------------------------------------------
SECURITY FEATURES
--------------------------------------------------
- All passwords are encrypted using CRYSTALS-Kyber-768 and AES-256-GCM.
- Row-Level Security ensures users can only access their own data.
- Vault activity is logged for auditing purposes.

--------------------------------------------------
LOGGING OUT
--------------------------------------------------
To end the session, click the "Logout" button. This invalidates the current
authentication token.

--------------------------------------------------
KNOWN LIMITATIONS
--------------------------------------------------
- Password sharing is not yet implemented.
- Multi-factor authentication is planned for future releases.
- Browser extension features are under development.

--------------------------------------------------
SUPPORT AND ASSISTANCE
--------------------------------------------------
For technical issues or questions, consult the project documentation or
contact a member of the development team.

--------------------------------------------------
END OF USER MANUAL
--------------------------------------------------
